package com.ruoyi.data.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 设备历史视图对象 devices_old
 *
 * @author ruoyi
 * @date 2024-10-12
 */
@Data
@ExcelIgnoreUnannotated
public class DevicesOldVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private String id;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private String userId;

    /**
     * 用户名称
     */
    @ExcelProperty(value = "用户名称")
    private String userName;

    /**
     * 项目
     */
    @ExcelProperty(value = "项目")
    private String project;

    /**
     * 设备ID
     */
    @ExcelProperty(value = "设备ID")
    private String deviceId;

    /**
     * 设备组
     */
    @ExcelProperty(value = "设备组")
    private String deviceGroup;

    /**
     * 设备名称
     */
    @ExcelProperty(value = "设备名称")
    private String deviceName;

    /**
     * table展示
     */
    @ExcelProperty(value = "table展示")
    private String columns;

    /**
     * 设备配置
     */
    @ExcelProperty(value = "设备配置")
    private String config;

    /**
     * 下发任务
     */
    @ExcelProperty(value = "下发任务")
    private String actionMessage;

    /**
     * 电量
     */
    @ExcelProperty(value = "电量")
    private String battery;

    /**
     * 运时
     */
    @ExcelProperty(value = "运时")
    private String runtime;

    /**
     * 创建日期
     */
    @ExcelProperty(value = "创建日期")
    private Date date;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private Date lastUpdate;

    /**
     * Websocket_ID
     */
    @ExcelProperty(value = "Websocket_ID")
    private Long resourceId;

    /**
     * 自动化状态
     */
    @ExcelProperty(value = "自动化状态")
    private Integer isScriptRunning;

    /**
     * 已读未读
     */
    @ExcelProperty(value = "已读未读")
    private Long status;


}
